package com.test;

/**
 * Time    : 2023/3/22 16:36
 * Author  : 王摇摆
 * FileName: MyPhone.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

//生产一部手机
public class MyPhone implements Touchable, MessagePromptable, Callable {

    //直接装载手机需要的功能即可
    private StandardTouch toucher = new StandardTouch();
    private StandardPrompt prompter = new StandardPrompt();
    private StandradCall caller = new StandradCall();


    @Override
    public void touch() {
        toucher.touch();
    }

    @Override
    public void Prompt() {
        prompter.Prompt();

    }

    @Override
    public void call() {
        caller.call();

    }


}
